package com.tsoj.tsojuserservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan("com.tsoj")
@EnableCaching
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.tsoj.tsojserviceclient.service"})

public class TsojUserServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(TsojUserServiceApplication.class, args);
    }

}
